/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import classes.Categoria;
import erro.ConexaoException;
import erro.ConsultaException;
import erro.DaoException;
import java.util.List;

/**
 *
 * @author George
 */
public interface IDaoCategoria {
    public void inserir (Categoria cat) throws ConexaoException,DaoException;
    public void alterar(Categoria cat) throws ConexaoException,DaoException;
    public void deletar(Categoria cat) throws ConexaoException,DaoException;
    public Categoria pesquisar(Categoria cat) throws ConexaoException, DaoException;
    public List pesquisarCat(Categoria cat) throws ConexaoException,ConsultaException;
    public List listar() throws ConexaoException,ConsultaException;
}
